<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>锤子商城 - 坚果手机、坚果 Pro 3 手机、坚果 R1 手机</title>
    <link rel="icon" href="/images/favicon.ico">
    <link rel="stylesheet" href="/css/category.css">
</head>
<body>
    <!-- 列表页头部区 结构复用 -->
    <div class="headerBox"></div>
    <!-- 列表页导航区 结构复用 -->
    <div class="navBox"></div>

    <!-- 列表页内容区 -->
    <div class="container">
        <!-- 排序区 -->
        <div class="sortBox">
            <li class="active">综合排序</li>
            <i>·</i>
            <li>销量排序</li>
            <i>·</i>
            <li>价格低到高</li>
            <i>·</i>
            <li>价格高到低</li>
        </div>
        <!-- 商品列表区 -->
        <div id="categoryTemplateBox" class="category category-box"></div>
        <script type="text/hteml" id="categoryTemplate">
            {{each data item}}
                <li class="category-box-list">
                    <div class="category-list-imgBox">
                        <img src="{{item.spuInfo.images}}" alt="">
                    </div>
                    <div class="category-list-msgBox">
                        <h4>{{item.spuInfo.spuTitle}}</h4>
                        <h5>{{item.spuInfo.spuSubTitle}}</h5>
                    </div>
                    <div class="category-list-priceBox">
                        <span>¥{{item.spuInfo.price}}</span>
                    </div>
                    <a href="/html/item.html?id={{item.spuInfo.skuId}}" class="category-list-cover" target="_blank"></a>
                </li>
            {{/each}}
        </script>
    </div>

    <!-- 列表页底部区 结构复用 -->
    <div class="footerBox"></div>
    <!-- 列表页模块载入 -->
</body>
    <script src="/lib/require/require.min.js" data-main="/js/category.js"></script>
</html>